package com.xiye.common.util;

/**
 * @author 西野
 * @version V1.0
 * @title Const.java
 * @package com.xiye.common.util
 * @description 静态参数
 * @date 2018-07-13
 */
public class Const {
    public static final String RIGHTS_QUEUE = "RIGHTS_QUEUE"; // 权限队列
    public static final String APPKEY_MOB = "276d298bcc3b0"; // mob官网注册申请即可
    public static final String GET_IP_Postioning = "http://apicloud.mob.com/ip/query?key=" + APPKEY_MOB + "&ip="; // 查询IP接口地址
    public static final String SESSION_SECURITY_CODE = "sessionSecCode"; // 验证码
    public static final String SESSION_USER = "sessionUser"; // session用的用户
    public static final String SESSION_ROLE_RIGHTS = "sessionRoleRights";
    public static final String SESSION_MENULIST = "menuList"; // 当前菜单
    public static final String SESSION_ALLMENULIST = "allmenuList"; // 全部菜单
    public static final String SESSION_QX = "QX"; // 主职角色权限
    public static final String SESSION_QX2 = "QX2"; // 副职角色权限
    public static final String SESSION_USERPDS = "userpds";
    public static final String SESSION_USERROL = "USERROL"; // 用户对象
    public static final String SESSION_USERNAME = "USERNAME"; // 用户名
    public static final String SESSION_U_NAME = "U_NAME"; // 用户姓名
    public static final String SESSION_RNUMBERS = "RNUMBERS"; // 角色编码数组
    public static final String DEPARTMENT_IDS = "DEPARTMENT_IDS"; // 当前用户拥有的最高部门权限集合
    public static final String DEPARTMENT_ID = "DEPARTMENT_ID"; // 当前用户拥有的最高部门权限
    public static final String PAGE_COUNT = "10"; // 分页条数
    public static final String EXCELMODEL = "static/excel"; // EXCEL
    public static final String NO_INTERCEPTOR_PATH = ".*/((login)|(uploadFiles/uploadFile)|(healthcheck)|(serverinfo)|(apps)|(asg)|(peerreplication)|(status)|(svips)|(vips)|(instances)|(monitor)|(hystrix)|(actuator)|(health)|(xiye-system/v2/api-docs)|(logout)|(code)|(app)|(weixin)|(static)|(main)|(websocket)|(web)|(ueditor)|(index)|(uploadImgs)).*"; //不对匹配该值的访问路径拦截（正则）

    /* 菜单列表访问权限验证 */
    public static final String MENU_ROLE = "role/listRole"; // 角色权限列表
    public static final String MENU_BUTTON = "button/listButton"; // 按钮管理列表
    public static final String MENU_BUTTONRIGHTS = "buttonrights/listButtonRights"; // 按钮权限列表
    public static final String MENU_MENU = "menu/listAllMenu"; // 菜单管理列表
    public static final String MENU_USER = "user/listUsers"; // 系统用户列表

}

